using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace asWins.Forms
{
	/// <summary>
	/// Class BaseForm.
	/// </summary>
	public class BaseForm : System.Windows.Forms.Form
	{
		#region Constructor and Dispose

		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		/// <summary>
		/// Innitialized a new BaseForm
		/// </summary>
		public BaseForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();
			this.m_AllowDuplicate = false;
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#endregion

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			// 
			// BaseForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(292, 273);
			this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(222)));
			this.KeyPreview = true;
			this.Name = "BaseForm";
			this.Text = "BaseForm";

		}
		#endregion

		#region Variables

		private bool m_AllowDuplicate;
		/// <summary>
		/// Allow open more than 1 times.
		/// </summary>
		[
		DefaultValue(false),
		Category("Appearance"),
		Description("Allow open more than 1 times.")
		]
		public bool AllowDuplicate
		{
			get {return m_AllowDuplicate;}
			set {m_AllowDuplicate = value;}
		}

		#endregion

	}
}
